
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>qilu-state使用说明 · 启路框架-使用手册</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-insert-logo/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-toggle-chapters/toggle.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-lightbox/css/lightbox.min.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-emphasize/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-prism/prism.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-flexible-alerts/style.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-page-toc-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    


    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="state-demo.html" />
    
    
    <link rel="prev" href="state-course.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    整体介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../ready/ready.html">
            
                <a href="../ready/ready.html">
            
                    
                    技术准备
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../ready/ide.html">
            
                <a href="../ready/ide.html">
            
                    
                    eclipse
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../ready/build.html">
            
                <a href="../ready/build.html">
            
                    
                    本地构建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../ready/nexus.html">
            
                <a href="../ready/nexus.html">
            
                    
                    私服构建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../ready/run.html">
            
                <a href="../ready/run.html">
            
                    
                    运行调试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../ready/specification.html">
            
                <a href="../ready/specification.html">
            
                    
                    结构和分包
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../base/baseReadme.html">
            
                <a href="../base/baseReadme.html">
            
                    
                    基础包介绍
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../base/qiluTask-readme.html">
            
                <a href="../base/qiluTask-readme.html">
            
                    
                    qilu-task
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../base/cache-readme.html">
            
                <a href="../base/cache-readme.html">
            
                    
                    qilucache
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../base/qiluMybatis-readme.html">
            
                <a href="../base/qiluMybatis-readme.html">
            
                    
                    qilu-mybatis
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../base/logTrace-readme.html">
            
                <a href="../base/logTrace-readme.html">
            
                    
                    qilu-logTrace
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../base/qilu-export-readme.html">
            
                <a href="../base/qilu-export-readme.html">
            
                    
                    qilu-export
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="../base/httpService-readme.html">
            
                <a href="../base/httpService-readme.html">
            
                    
                    qilu-http-service
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7" data-path="../base/validateReadme.html">
            
                <a href="../base/validateReadme.html">
            
                    
                    qilu-validate
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="state-course.html">
            
                <a href="state-course.html">
            
                    
                    交易一致的由来
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.4.1" data-path="state-settle.html">
            
                <a href="state-settle.html">
            
                    
                    qilu-state使用说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="state-demo.html">
            
                <a href="state-demo.html">
            
                    
                    购买订单的处理示例
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../backSample/backSampleReadme.html">
            
                <a href="../backSample/backSampleReadme.html">
            
                    
                    后台代码模板
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../backSample/security.html">
            
                <a href="../backSample/security.html">
            
                    
                    安全介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../backSample/deploy.html">
            
                <a href="../backSample/deploy.html">
            
                    
                    部署集成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../backSample/config.html">
            
                <a href="../backSample/config.html">
            
                    
                    spring配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../backSample/sso.html">
            
                <a href="../backSample/sso.html">
            
                    
                    SSO集成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../backSample/example.html">
            
                <a href="../backSample/example.html">
            
                    
                    常见代码示例
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../test/readme.html">
            
                <a href="../test/readme.html">
            
                    
                    关于测试
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../test/unitTest.html">
            
                <a href="../test/unitTest.html">
            
                    
                    单元测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../test/function.html">
            
                <a href="../test/function.html">
            
                    
                    功能测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../test/noFunction.html">
            
                <a href="../test/noFunction.html">
            
                    
                    非功能测试
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../video/test.html">
            
                <a href="../video/test.html">
            
                    
                    视频
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../video/build.html">
            
                <a href="../video/build.html">
            
                    
                    项目构建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../video/state.html">
            
                <a href="../video/state.html">
            
                    
                    交易一致
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >qilu-state使用说明</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div class="search-plus" id="book-search-results">
    <div class="search-noresults">
    
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x4EA4;&#x6613;&#x4E00;&#x81F4;&#x6027;&#x7684;&#x6846;&#x67B6;qilu-state">&#x4EA4;&#x6613;&#x4E00;&#x81F4;&#x6027;&#x7684;&#x6846;&#x67B6;qilu-state</h1>
<h2 id="&#x80CC;&#x666F;">&#x80CC;&#x666F;</h2>
<p>&#x8BE6;&#x7EC6;&#x7684;&#x4EA4;&#x6613;&#x4E00;&#x81F4;&#x6027;&#x95EE;&#x9898;,&#x8BF7;&#x770B;<a href="state-course.html">&lt;&#x4EA4;&#x6613;&#x4E00;&#x81F4;&#x7684;&#x7531;&#x6765;&gt;</a>.</p>
<p>&#x4EA4;&#x6613;&#x4E00;&#x81F4;&#x6027;&#x7684;&#x95EE;&#x9898;,&#x89E3;&#x51B3;&#x7684;&#x601D;&#x8DEF;&#x53EA;&#x6709;&#x4E00;&#x4E2A;,&#x90A3;&#x5C31;&#x662F;&#x672C;&#x5730;&#x4E8B;&#x52A1;&#x548C;&#x8FDC;&#x7A0B;&#x8C03;&#x7528;&#x7684;&#x5206;&#x79BB;.&#x867D;&#x7136;spring&#x5E2E;&#x6211;&#x4EEC;&#x5B9E;&#x73B0;&#x4E86;&#x5728;&#x4EFB;&#x610F;&#x4EE3;&#x7801;&#x91CC;&#x9762;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x4E8B;&#x52A1;,&#x4F46;&#x662F;<strong style="color:red">&#x4E00;&#x65E6;&#x4E8B;&#x52A1;&#x4E2D;&#x5305;&#x542B;&#x8FDC;&#x7A0B;&#x8C03;&#x7528;,&#x4E0A;&#x8FF0;&#x6587;&#x7AE0;&#x7684;&#x5185;&#x5BB9;&#x5C31;&#x65E0;&#x6CD5;&#x907F;&#x514D;</strong>.</p>
<p>&#x6709;&#x7684;&#x516C;&#x53F8;&#x4E5F;&#x4F7F;&#x7528;&quot;&#x6D41;&#x7A0B;&#x5F15;&#x64CE;&quot;&#x6765;&#x89E3;&#x51B3;,&#x4F46;&#x662F;&#x5F88;&#x4E0D;&#x5E78;,&#x5982;&#x679C;&#x5F15;&#x5165;&quot;&#x6D41;&#x7A0B;&#x5F15;&#x64CE;&quot;,&#x56E0;&#x4E3A;&#x6D89;&#x53CA;&#x5230;&#x72B6;&#x6001;&#x8865;&#x5355;,&quot;&#x6D41;&#x7A0B;&#x5F15;&#x64CE;&quot;&#x8FD8;&#x6709;&#x81EA;&#x5DF1;&#x7684;&#x4FDD;&#x5B58;&#x4E8B;&#x52A1;,&#x4E1A;&#x52A1;&#x7684;&#x8BA2;&#x5355;&#x4E5F;&#x6709;&#x81EA;&#x5DF1;&#x7684;&#x4FDD;&#x5B58;&#x4E8B;&#x52A1;,&#x5F15;&#x5165;&quot;&#x6D41;&#x7A0B;&#x5F15;&#x64CE;&quot;&#x4F1A;&#x56E0;&#x4E3A;&#x989D;&#x5916;&#x7684;&#x4E8B;&#x52A1;&#x5F15;&#x5165;,&#x4F1A;&#x8BA9;&#x60C5;&#x51B5;&#x53D8;&#x7684;&#x66F4;&#x52A0;&#x590D;&#x6742;.qilu-state&#x88AB;&#x8BBE;&#x8BA1;&#x6210;&#x6CA1;&#x6709;&#x5B58;&#x50A8;&#x7684;&#x6700;&#x4E3B;&#x8981;&#x539F;&#x56E0;.</p>
<p>qilu-state&#x672C;&#x8D28;&#x4E0A;&#x6765;&#x8BF4;,&#x662F;&#x548C;&#x5206;&#x5E03;&#x5F0F;&#x4E8B;&#x52A1;&#x5E73;&#x53F0;&#x5728;&#x89E3;&#x51B3;&#x76F8;&#x540C;&#x7684;&#x95EE;&#x9898;.&#x4F46;&#x4ECE;&#x5BF9;&#x7CFB;&#x7EDF;&#x4FB5;&#x5165;&#x6027;&#x548C;&#x9002;&#x7528;&#x6027;&#x6765;&#x770B;,qilu-state&#x5728;&#x8FD9;2&#x4E2A;&#x65B9;&#x9762;&#x65E0;&#x4E0E;&#x4F26;&#x6BD4;.&#x6211;&#x975E;&#x5E38;&#x63A8;&#x8350;&#x6240;&#x6709;&#x7684;&#x6838;&#x5FC3;&#x4EA4;&#x6613;&#x7C7B;&#x7684;&#x5904;&#x7406;,&#x4F7F;&#x7528;qilu-state&#x6765;&#x5904;&#x7406;.</p>
<p>qilu-state&#x7684;&#x539F;&#x5219;&#x5C31;&#x662F;&#x501F;&#x52A9;&#x4E8E;&#x4E1A;&#x52A1;&#x7684;&#x72B6;&#x6001;&#x673A;,&#x4ECE;&#x6839;&#x672C;&#x4E0A;&#x5206;&#x79BB;&#x672C;&#x5730;&#x4E8B;&#x52A1;&#x548C;&#x8FDC;&#x7A0B;&#x8C03;&#x7528;&#x7684;&#x903B;&#x8F91;&#x4ECE;&#x800C;&#x5B9E;&#x73B0;&#x9AD8;&#x53EF;&#x9760;&#x6027;.qilu-state&#x5728;&#x8FD0;&#x884C;&#x6548;&#x679C;&#x4E0A;,&#x7C7B;&#x4F3C;&#x4E8E;&#x5185;&#x5B58;&#x72B6;&#x6001;&#x673A;,&#x5728;&#x5265;&#x79BB;&#x672C;&#x5730;&#x4E8B;&#x52A1;&#x548C;&#x8FDC;&#x7A0B;&#x8C03;&#x7528;&#x4EE5;&#x540E;,&#x501F;&#x52A9;&#x4E8E;&#x672C;&#x5730;&#x4E8B;&#x52A1;&#x7684;ACID&#x7279;&#x6027;,&#x5B9E;&#x73B0;&#x9AD8;&#x53EF;&#x9760;&#x7684;&#x7279;&#x6027;.</p>
<p>&#x5728;&#x4ECB;&#x7ECD;&#x4EE5;&#x524D;,&#x5E0C;&#x671B;&#x5404;&#x4F4D;&#x660E;&#x767D;</p>
<ol>
<li>&#x4E0D;&#x662F;qilu-state&#x62BD;&#x8C61;&#x7684;&#x590D;&#x6742;,&#x662F;&#x539F;&#x672C;&#x7B80;&#x5355;&#x7684;&#x4E1A;&#x52A1;,&#x5728;&#x9AD8;&#x53EF;&#x9760;&#x6027;&#x7684;&#x8981;&#x6C42;&#x4E0B;,&#x5C31;&#x4F1A;&#x53D8;&#x5F97;&#x975E;&#x5E38;&#x590D;&#x6742;.&#x6846;&#x67B6;&#x7684;&#x610F;&#x4E49;&#x53EF;&#x4EE5;&#x51CF;&#x5C11;&#x91CD;&#x590D;&#x4EE3;&#x7801;,&#x4F46;&#x662F;&#x4E0D;&#x80FD;&#x51CF;&#x5C11;&#x6709;&#x6548;&#x4EE3;&#x7801;,&#x53EA;&#x662F;&#x4EE3;&#x7801;&#x88AB;&#x7F16;&#x6392;&#x5728;&#x4E86;&#x4E0D;&#x540C;&#x7684;&#x5730;&#x65B9;.</li>
<li>&#x4F7F;&#x7528;qilu-state&#x7684;&#x524D;&#x63D0;,&#x4E00;&#x5B9A;&#x662F;&#x5B9A;&#x4E49;&#x5B8C;&#x6574;&#x7684;&#x72B6;&#x6001;&#x673A;,&#x6709;&#x72B6;&#x6001;&#x673A;&#x624D;&#x6709;&#x6D41;&#x7A0B;.</li>
<li>qilu-state&#x7684;&#x5B9E;&#x73B0;&#x975E;&#x5E38;&#x4E0D;&#x5229;&#x4E8E;&#x5F00;&#x53D1;&#x4EBA;&#x5458;&#x5728;&#x5206;&#x4EAB;&#x4EE3;&#x7801;,&#x4E32;&#x8054;&#x903B;&#x8F91;,&#x5982;&#x679C;&#x5E0C;&#x671B;&#x628A;&#x903B;&#x8F91;&#x4E32;&#x8D77;&#x6765;,&#x8BF7;&#x4F7F;&#x7528;&#x72B6;&#x6001;&#x673A;&#x56FE;.</li>
<li>&#x8BA9;&#x9AD8;&#x53EF;&#x9760;&#x6027;&#x901A;&#x7528;&#x5316;&#x548C;&#x6A21;&#x5F0F;&#x5316;,&#x4E00;&#x4E9B;&#x5371;&#x9669;&#x7684;&#x4EE3;&#x7801;&#x4E5F;&#x53EF;&#x4EE5;&#x4EA4;&#x7ED9;&#x7ECF;&#x9A8C;&#x6BD4;&#x8F83;&#x7F3A;&#x4E4F;&#x7684;&#x540C;&#x5B66;&#x6765;&#x5B8C;&#x6210;.</li>
<li>qilu-state&#x5177;&#x5907;&#x6D41;&#x7A0B;&#x7684;&#x542B;&#x4E49;,&#x6D41;&#x7A0B;&#x90FD;&#x6709;&#x4E00;&#x4E2A;&#x65E0;&#x6CD5;&#x5FFD;&#x89C6;&#x7684;&#x4F18;&#x70B9;----<strong style="color:red">&#x53EA;&#x8981;&#x6D4B;&#x8BD5;&#x5B8C;&#x5584;,&#x7CFB;&#x7EDF;&#x4F1A;&#x8D85;&#x7A33;&#x5B9A;</strong></li>
<li>&#x548C;&#x6CA1;&#x6709;&#x6846;&#x67B6;&#x6BD4;&#x8F83;&#x8D77;&#x6765;,qilu-state&#x53EF;&#x4EE5;&#x8282;&#x7701;&#x91CD;&#x8BD5;&#x90E8;&#x5206;&#x7684;&#x4EE3;&#x7801;</li>
<li>&#x548C;&#x5206;&#x5E03;&#x5F0F;&#x4E8B;&#x52A1;&#x5E73;&#x53F0;&#x6BD4;&#x8F83;&#x8D77;&#x6765;,qilu-state&#x8F7B;&#x91CF;&#x4E14;&#x6CE8;&#x91CD;&#x5185;&#x5728;(&#x5206;&#x5E03;&#x5F0F;&#x4E8B;&#x52A1;&#x5E73;&#x53F0;&#x9700;&#x8981;&#x501F;&#x52A9;&#x4E8E;&#x5916;&#x5728;&#x7684;&#x5E73;&#x53F0;&#x529F;&#x80FD;&#x5B8C;&#x6210;&#x5185;&#x90E8;&#x903B;&#x8F91;&#x7684;&#x4E00;&#x81F4;&#x6027;)</li>
</ol>
<h2 id="&#x4F7F;&#x7528;">&#x4F7F;&#x7528;</h2>
<h3 id="maven&#x4F9D;&#x8D56;">maven&#x4F9D;&#x8D56;</h3>
<pre class="language-"><code class="lang-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>dependency</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>groupId</span><span class="token punctuation">&gt;</span></span>com.9istock.base<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>groupId</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>artifactId</span><span class="token punctuation">&gt;</span></span>qilu-state<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>artifactId</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>version</span><span class="token punctuation">&gt;</span></span>&#x7248;&#x672C;&#x53F7;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>version</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>dependency</span><span class="token punctuation">&gt;</span></span>
</code></pre>
<h3 id="&#x914D;&#x7F6E;">&#x914D;&#x7F6E;</h3>
<h4 id="spring&#x914D;&#x7F6E;">spring&#x914D;&#x7F6E;</h4>
<p>qilu-state&#x72B6;&#x6001;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x7684;&#x8F7D;&#x5165;</p>
<pre class="language-"><code class="lang-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>bean</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>com.istock.base.state.config.StateInitilizer<span class="token punctuation">&quot;</span></span> <span class="token attr-name">init-method</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>init<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>location<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>list</span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>value</span><span class="token punctuation">&gt;</span></span>classpath*:state-config-orderInfo.xml<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>value</span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>list</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>property</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>bean</span><span class="token punctuation">&gt;</span></span>
</code></pre>
<p>&#x6267;&#x884C;&#x5668;&#x7684;&#x521D;&#x59CB;&#x5316;</p>
<pre class="language-"><code class="lang-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>bean</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>stateExecutor<span class="token punctuation">&quot;</span></span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>com.istock.base.state.execute.StateExecutor<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>template<span class="token punctuation">&quot;</span></span> <span class="token attr-name">ref</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>transactionTemplate<span class="token punctuation">&quot;</span></span> <span class="token punctuation">/&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>dataSource<span class="token punctuation">&quot;</span></span> <span class="token attr-name">ref</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>dataSource<span class="token punctuation">&quot;</span></span> <span class="token punctuation">/&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>lockFactory<span class="token punctuation">&quot;</span></span> <span class="token attr-name">ref</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>lockFactory<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>property</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>bean</span><span class="token punctuation">&gt;</span></span>
</code></pre>
<p>qilu-state&#x4E2D;&#x652F;&#x6301;&#x7684;&#x9501;,&#x6839;&#x636E;&#x5B9E;&#x9645;&#x9700;&#x8981;&#x8F7D;&#x5165;</p>
<pre class="language-"><code class="lang-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>bean</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>lockFactory<span class="token punctuation">&quot;</span></span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>com.istock.base.state.lock.LockFactory<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>lockMap<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>map</span><span class="token punctuation">&gt;</span></span>
            <span class="token comment">&lt;!-- &#x8BB0;&#x5F55;&#x72B6;&#x6001;&#x4E50;&#x89C2;&#x9501;,&#x4FEE;&#x6539;&#x8BB0;&#x5F55;&#x72B6;&#x6001; --&gt;</span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>entry</span> <span class="token attr-name">key</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>STATUS_LOCK<span class="token punctuation">&quot;</span></span> <span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>bean</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>com.istock.base.state.lock.StatusLockImpl<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>template<span class="token punctuation">&quot;</span></span> <span class="token attr-name">ref</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>transactionTemplate<span class="token punctuation">&quot;</span></span> <span class="token punctuation">/&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>dataSource<span class="token punctuation">&quot;</span></span> <span class="token attr-name">ref</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>dataSource<span class="token punctuation">&quot;</span></span> <span class="token punctuation">/&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>bean</span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>entry</span><span class="token punctuation">&gt;</span></span>
            <span class="token comment">&lt;!-- &#x4F7F;&#x7528;Lock_Info&#x8868;&#x7684;&#x552F;&#x4E00;&#x7D22;&#x5F15;&#x51B2;&#x7A81;,&#x6784;&#x5EFA;&#x9501; --&gt;</span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>entry</span> <span class="token attr-name">key</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>TABLE_LOCK<span class="token punctuation">&quot;</span></span> <span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>bean</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>com.istock.base.state.lock.TableLockImpl<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>dataSource<span class="token punctuation">&quot;</span></span> <span class="token attr-name">ref</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>dataSource<span class="token punctuation">&quot;</span></span> <span class="token punctuation">/&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>bean</span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>entry</span><span class="token punctuation">&gt;</span></span>
            <span class="token comment">&lt;!--&#x4F7F;&#x7528;&#x7B2C;&#x4E09;&#x65B9;&#x7F13;&#x5B58;&#x9501;--&gt;</span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>entry</span> <span class="token attr-name">key</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>CACHE_LOCK<span class="token punctuation">&quot;</span></span> <span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>bean</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>com.istock.base.state.lock.CacheLockImpl<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>cacheManager<span class="token punctuation">&quot;</span></span> <span class="token attr-name">ref</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>baseCacheManager<span class="token punctuation">&quot;</span></span> <span class="token punctuation">/&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>bean</span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>entry</span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>map</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>property</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>bean</span><span class="token punctuation">&gt;</span></span>
</code></pre>
<h4 id="qilu-state&#x7684;&#x914D;&#x7F6E;">qilu-state&#x7684;&#x914D;&#x7F6E;</h4>
<pre class="language-"><code class="lang-xml"><span class="token prolog">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>root</span><span class="token punctuation">&gt;</span></span>
    <span class="token comment">&lt;!-- &#x914D;&#x7F6E;&#x4E00;&#x4E2A;&#x8BA2;&#x5355;&#x7C7B;,qilu-state&#x901A;&#x8FC7;class&#x7C7B;&#x578B;&#x6765;&#x8BC6;&#x522B;&#x8BA2;&#x5355; --&gt;</span>
    <span class="token comment">&lt;!-- idQuery &#x5B58;&#x50A8;&#x7684;&#x662F;&#x5C5E;&#x6027;&#x5B57;&#x6BB5;,&#x4E3B;&#x8981;&#x7528;&#x4E8E;&#x4E0A;&#x4E0B;&#x6587;&#x4E2D;&#x8BA2;&#x5355;&#x72B6;&#x6001;&#x7684;&#x66F4;&#x65B0;,&#x4F1A;&#x91CD;&#x65B0;&#x4F7F;&#x7528;&#x6570;&#x636E;&#x5E93;&#x7684;&#x4FE1;&#x606F;&#x66F4;&#x65B0;&#x4E0A;&#x4E0B;&#x6587;&#x4E2D;&#x7684;&#x8BA2;&#x5355; status&#x662F;&#x8BA2;&#x5355;&#x4E2D;&#x7684;&#x72B6;&#x6001;&#x5B57;&#x6BB5;,&#x7528;&#x4E8E;&#x72B6;&#x6001;&#x8BC6;&#x522B; --&gt;</span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>typeDef</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>orderInfo<span class="token punctuation">&quot;</span></span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>com.istock.state.model.OrderInfo<span class="token punctuation">&quot;</span></span> <span class="token attr-name">tableName</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>TB_ORDER_INFO<span class="token punctuation">&quot;</span></span> <span class="token attr-name">idQuery</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>id<span class="token punctuation">&quot;</span></span> <span class="token attr-name">status</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>status<span class="token punctuation">&quot;</span></span><span class="token punctuation">/&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>typeDef</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>orderApply<span class="token punctuation">&quot;</span></span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>com.istock.state.model.OrderApply<span class="token punctuation">&quot;</span></span> <span class="token attr-name">tableName</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>TB_ORDER_APPLY<span class="token punctuation">&quot;</span></span> <span class="token attr-name">idQuery</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>id<span class="token punctuation">&quot;</span></span> <span class="token attr-name">status</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>status<span class="token punctuation">&quot;</span></span><span class="token punctuation">/&gt;</span></span>

    <span class="token comment">&lt;!-- &#x8BA2;&#x5355;&#x7684;&#x6267;&#x884C;&#x903B;&#x8F91; --&gt;</span>
    <span class="token comment">&lt;!-- orderInfo &#x7684;&#x5904;&#x7406;&#x903B;&#x8F91;,&#x63D2;&#x5165;&#x8BB0;&#x5F55;,orderInfo&#x72B6;&#x6001;&#x4E3A;1,&#x672A;&#x5904;&#x7406; --&gt;</span>
    <span class="token comment">&lt;!-- &#x53D8;&#x66F4;&#x4E3A;&#x72B6;&#x6001;2,&#x5904;&#x7406;&#x4E2D;,&#x540C;&#x65F6;&#x9700;&#x8981;&#x63D2;&#x5165;&#x4E00;&#x6761;orderApply --&gt;</span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>order</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>orderInfo<span class="token punctuation">&quot;</span></span> <span class="token punctuation">&gt;</span></span>
        <span class="token comment">&lt;!-- &#x6267;&#x884C;&#x5668;&#x7684;&#x6267;&#x884C;&#x6761;&#x4EF6; --&gt;</span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>state</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>test1<span class="token punctuation">&quot;</span></span> <span class="token attr-name">expression</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>order != null and order.status == 1<span class="token punctuation">&quot;</span></span> <span class="token attr-name">ref</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>spring:orderInfoHandler.execute<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>lock</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>TABLE_LOCK<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>EXPIRE_TIME<span class="token punctuation">&quot;</span></span> <span class="token attr-name">value</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>5<span class="token punctuation">&quot;</span></span><span class="token punctuation">/&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>lock</span><span class="token punctuation">&gt;</span></span>
            <span class="token comment">&lt;!-- &#x6267;&#x884C;&#x5668;&#x8FD4;&#x56DE;&#x540E;&#x7684;&#x4E8B;&#x52A1;&#x66F4;&#x65B0; --&gt;</span>
<span class="token comment">&lt;!-- &#x4E00;&#x4E2A;result&#x7C7B;&#x578B;,&#x53EF;&#x4EE5;&#x914D;&#x7F6E;&#x591A;&#x4E2A;save,&#x591A;&#x4E2A;save&#x5728;&#x540C;&#x4E00;&#x4E2A;&#x4E8B;&#x52A1;&#x4E2D;,&#x4EFB;&#x4F55;&#x4E00;&#x4E2A;&#x5F02;&#x5E38;&#x90FD;&#x4F1A;&#x5F15;&#x53D1;&#x5F53;&#x524D;&#x7684;result&#x56DE;&#x6EDA; --&gt;</span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>result</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>S<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>save</span> <span class="token attr-name">invoke</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>@orderApplyManager.createOrderApply(order.id)<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>save</span><span class="token punctuation">&gt;</span></span>
                <span class="token comment">&lt;!-- &#x51FA;&#x73B0;&#x8BA2;&#x5355;&#x5916;&#x7684;&#x66F4;&#x65B0;,&#x76F4;&#x63A5;&#x8C03;&#x7528;manager&#x6216;&#x8005;service,&#x4F7F;&#x7528;spring&#x7684;name&#x548C;&#x65B9;&#x6CD5;,&#x76F4;&#x63A5;&#x8C03;&#x7528;,&#x652F;&#x6301;&#x4F20;&#x503C; --&gt;</span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>result</span><span class="token punctuation">&gt;</span></span>
<span class="token comment">&lt;!-- rowCheck&#x662F;&#x6267;&#x884C;save&#x4E4B;&#x540E;&#x7684;&#x68C0;&#x67E5;,&#x5982;&#x679C;&#x66F4;&#x65B0;&#x7684;&#x8BB0;&#x5F55;&#x4E0D;&#x662F;rowCheck&#x7684;&#x914D;&#x7F6E;,&#x5C06;&#x4F1A;&#x56DE;&#x6EDA;&#x4E8B;&#x52A1; --&gt;</span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>result</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>F<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>save</span> <span class="token attr-name">name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>orderInfo<span class="token punctuation">&quot;</span></span> <span class="token attr-name">rowCheck</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>1<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>set</span> <span class="token attr-name">field</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>status<span class="token punctuation">&quot;</span></span> <span class="token attr-name">value</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>1<span class="token punctuation">&quot;</span></span> <span class="token punctuation">/&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>condition</span> <span class="token attr-name">field</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>status<span class="token punctuation">&quot;</span></span> <span class="token attr-name">value</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>2<span class="token punctuation">&quot;</span></span> <span class="token punctuation">/&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>condition</span> <span class="token attr-name">field</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>id<span class="token punctuation">&quot;</span></span> <span class="token attr-name">expression</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>#order.id#<span class="token punctuation">&quot;</span></span> <span class="token punctuation">/&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>save</span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>result</span><span class="token punctuation">&gt;</span></span>
            <span class="token comment">&lt;!-- process=true &#x8BBE;&#x7F6E;&#x5F53;&#x524D;&#x7684;&#x8DEF;&#x7531;&#x8FD4;&#x56DE;&#x662F;&#x4E00;&#x4E2A;&#x4E34;&#x65F6;&#x72B6;&#x6001;,&#x9700;&#x8981;&#x8BA9;&#x4E3B;&#x6D41;&#x7A0B;&#x9000;&#x51FA;&#x7B49;&#x5F85;&#x7684;&#x6807;&#x8BC6; --&gt;</span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>result</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>P<span class="token punctuation">&quot;</span></span> <span class="token attr-name">process</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>true<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
            <span class="token comment">&lt;!-- notify &#x5F53;&#x524D;result&#x7684;&#x672C;&#x5730;&#x4E8B;&#x52A1;&#x63D0;&#x4EA4;&#x4EE5;&#x540E;,&#x5BF9;&#x5BF9;&#x8C61;&#x7684;&#x72B6;&#x6001;&#x8FDB;&#x884C;&#x63A8;&#x8FDB; --&gt;</span>
            <span class="token comment">&lt;!-- notify&#x4E00;&#x5B9A;&#x4F1A;&#x89E6;&#x53D1;&#x4E00;&#x6B21;&#x5185;&#x5B58;&#x5BF9;&#x8C61;&#x7684;&#x66F4;&#x65B0;,&#x4F7F;&#x7528;condition&#x6216;&#x8005;idQuery&#x8FDB;&#x884C;&#x53D8;&#x66F4;&#x5185;&#x5B58;&#x5BF9;&#x8C61; --&gt;</span>
            <span class="token comment">&lt;!-- &#x5185;&#x5B58;&#x5BF9;&#x8C61;&#x53D8;&#x66F4;&#x5B8C;&#x6210;&#x4EE5;&#x540E;,&#x4F1A;&#x91CD;&#x65B0;&#x8DD1;&#x5BF9;&#x5E94;&#x5BF9;&#x8C61;&#x7684;state&#x72B6;&#x6001;&#x5224;&#x65AD; --&gt;</span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>notify</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>orderPay<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
                <span class="token comment">&lt;!-- notify&#x5B58;&#x5728;condition&#x8282;&#x70B9;,&#x8868;&#x660E;&#x63A8;&#x8FDB;&#x7684;&#x4E0D;&#x662F;&#x5F53;&#x524D;&#x7684;&#x5BF9;&#x8C61; --&gt;</span>
                <span class="token comment">&lt;!-- &#x5982;&#x679C;&#x63A8;&#x8FDB;&#x7684;&#x662F;&#x5F53;&#x524D;&#x5BF9;&#x8C61;,condition&#x7684;&#x72B6;&#x6001;&#x53EF;&#x4EE5;&#x7701;&#x7565; --&gt;</span>
                <span class="token comment">&lt;!-- &#x4E3B;&#x8BA2;&#x5355;&#x63A8;&#x4ECE;&#x8BA2;&#x5355;,&#x4E0D;&#x4FDD;&#x8BC1;&#x552F;&#x4E00;,orderId&#x548C;status&#x9700;&#x8981;&#x540C;&#x65F6;&#x6EE1;&#x8DB3; --&gt;</span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>condition</span> <span class="token attr-name">field</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>orderId<span class="token punctuation">&quot;</span></span> <span class="token attr-name">expression</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>#order.id#<span class="token punctuation">&quot;</span></span><span class="token punctuation">/&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>condition</span> <span class="token attr-name">field</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>status<span class="token punctuation">&quot;</span></span> <span class="token attr-name">value</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>2<span class="token punctuation">&quot;</span></span> <span class="token punctuation">/&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>notify</span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>result</span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>state</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>order</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>root</span><span class="token punctuation">&gt;</span></span>
</code></pre>
<h3 id="&#x914D;&#x7F6E;&#x8BF4;&#x660E;">&#x914D;&#x7F6E;&#x8BF4;&#x660E;</h3>
<h4 id="typedef&#x8282;&#x70B9;">typeDef&#x8282;&#x70B9;</h4>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>&#x8BA2;&#x5355;&#x7C7B;&#x7684;&#x522B;&#x540D;,&#x7528;&#x4E8E;order&#x548C;state&#x4E2D;&#x7684;&#x5F15;&#x7528;</td>
</tr>
<tr>
<td>class</td>
<td>&#x8BA2;&#x5355;&#x7684;java&#x7C7B;,context&#x4E2D;&#x7684;order&#x662F;&#x4E00;&#x4E2A;object,&#x4F7F;&#x7528;object&#x7684;class&#x6765;&#x8BC6;&#x522B;&#x8BA2;&#x5355;</td>
</tr>
<tr>
<td>tableName</td>
<td>&#x5F53;&#x524D;&#x7684;&#x8BA2;&#x5355;&#x518D;&#x6570;&#x636E;&#x5E93;&#x8868;&#x4E2D;&#x7684;&#x8868;&#x540D;</td>
</tr>
<tr>
<td>idQuery</td>
<td>&#x8BB0;&#x5F55;&#x7684;id&#x5B57;&#x6BB5;,&#x7528;&#x4E8E;&#x552F;&#x4E00;&#x6807;&#x8BC6;&#x4E00;&#x7B14;&#x8BA2;&#x5355;,&#x5728;loopCondition&#x88AB;&#x89E6;&#x53D1;&#x4EE5;&#x540E;,&#x9700;&#x8981;&#x4ECE;&#x6570;&#x636E;&#x5E93;&#x66F4;&#x65B0;&#x4E0A;&#x4E0B;&#x6587;&#x4E2D;&#x7684;&#x8BA2;&#x5355;&#x4FE1;&#x606F;,&#x4F1A;&#x89E6;&#x53D1;&#x4E00;&#x4E2A;id&#x7684;&#x67E5;&#x8BE2;</td>
</tr>
<tr>
<td>status</td>
<td>&#x8BA2;&#x5355;&#x8BB0;&#x5F55;&#x7684;&#x72B6;&#x6001;&#x5B57;&#x6BB5;,&#x7528;&#x4E8E;state&#x6267;&#x884C;&#x524D;&#x7684;&#x72B6;&#x6001;&#x68C0;&#x67E5;</td>
</tr>
</tbody>
</table>
<h4 id="order&#x8282;&#x70B9;">order&#x8282;&#x70B9;</h4>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>&#x8BA2;&#x5355;&#x7684;&#x522B;&#x540D;,&#x7ED1;&#x5B9A;typeDef&#x7684;name,&#x7528;&#x4E8E;&#x901A;&#x8FC7;class&#x6765;&#x8BC6;&#x522B;&#x8BA2;&#x5355;</td>
</tr>
</tbody>
</table>
<h4 id="state&#x8282;&#x70B9;">state&#x8282;&#x70B9;</h4>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>&#x5F53;&#x524D;state&#x7684;&#x522B;&#x540D;,&#x7528;&#x4E8E;&#x88AB;&#x5176;&#x4ED6;&#x914D;&#x7F6E;&#x7684;&#x7ED1;&#x5B9A;&#x6BD4;&#x5982;stateMap.state</td>
</tr>
<tr>
<td>status</td>
<td>&#x5F53;&#x524D;&#x7684;&#x5339;&#x914D;&#x7684;&#x7B80;&#x5355;&#x914D;&#x7F6E;,&#x6BD4;&#x5982;<code>status=&#x201D;1&#x201D;</code>,&#x90A3;&#x4E48;&#x53EA;&#x6709;&#x8BA2;&#x5355;&#x72B6;&#x6001;&#x4E3A;1&#x7684;,&#x624D;&#x80FD;&#x8FDB;&#x5165;,status&#x5224;&#x65AD;&#x4F18;&#x5148;</td>
</tr>
<tr>
<td>expression</td>
<td>&#x5F53;&#x524D;&#x72B6;&#x6001;&#x5339;&#x914D;&#x7684;&#x590D;&#x6742;&#x914D;&#x7F6E;,&#x53EF;&#x80FD;&#x6709;2&#x4E2A;&#x5B57;&#x6BB5;&#x9700;&#x8981;&#x5224;&#x65AD;&#x6216;&#x8005;&#x5728;&#x5224;&#x65AD;&#x6761;&#x4EF6;&#x4E2D;&#x5B58;&#x5728;or&#x548C;and,&#x4F7F;&#x7528;springEL&#x7684;&#x65B9;&#x5F0F;&#x914D;&#x7F6E;&#x8868;&#x8FBE;&#x5F0F;,&#x8FD4;&#x56DE;&#x4E3A;true,&#x624D;&#x80FD;&#x8FDB;&#x5165;&#x5F53;&#x524D;&#x914D;&#x7F6E;,&#x4F18;&#x5148;&#x7EA7;&#x5728;status&#x4E4B;&#x540E;</td>
</tr>
<tr>
<td>ref</td>
<td>&#x5F53;&#x524D;&#x72B6;&#x6001;&#x7684;handler&#x914D;&#x7F6E;,&#x5728;&#x6267;&#x884C;&#x5B8C;<code>order.state.lock</code>&#x4EE5;&#x540E;,&#x5C31;&#x4F1A;&#x6267;&#x884C;ref&#x914D;&#x7F6E;&#x7684;handler,&#x8FD9;&#x8FB9;&#x914D;&#x7F6E;&#x7684;&#x662F;handler<strong style="color:red">&#x9700;&#x8981;&#x6EE1;&#x8DB3;<code>spring:BeanId.methodName</code>&#x683C;&#x5F0F;,&#x6BD4;&#x5982;:<code>spring:EmptyHandler.execute</code></strong></td>
</tr>
</tbody>
</table>
<h4 id="lock&#x8282;&#x70B9;">lock&#x8282;&#x70B9;</h4>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>type</td>
<td>&#x9501;&#x7684;&#x7C7B;&#x578B;,&#x652F;&#x6301;&#x7684;&#x9501;&#x7C7B;&#x578B;,&#x5728;spring&#x914D;&#x7F6E;&#x7684;lockFactory&#x4E2D;&#x9501;&#x7C7B;&#x578B;&#x5982;&#x4E0B;,&#x9ED8;&#x8BA4;&#x4E3A;Status_Lock.<br>Status_Lock,&#x72B6;&#x6001;&#x9501;,&#x662F;&#x76F4;&#x63A5;&#x66F4;&#x65B0;order&#x7684;status&#x5B57;&#x6BB5;,&#x5FC5;&#x987B;&#x914D;&#x7F6E;save&#x8282;&#x70B9;<br>Table_Lock,&#x901A;&#x7528;&#x7684;&#x8868;&#x9501;,&#x5C06;&#x9501;&#x4FDD;&#x5B58;&#x5728;ST_TABLE_LOCK_INFO&#x4E2D;,&#x4E0D;&#x5BF9;&#x4E1A;&#x52A1;&#x8BA2;&#x5355;&#x8868;&#x8FDB;&#x884C;&#x64CD;&#x4F5C;<br>Cache_Lock,&#x7F13;&#x5B58;&#x9501;,&#x5C06;&#x9501;&#x4FE1;&#x606F;&#x4F7F;&#x7528;&#x7F13;&#x5B58;&#x8FDB;&#x884C;&#x4FDD;&#x5B58;,&#x9700;&#x8981;&#x914D;&#x7F6E;cacheManager,&#x4F7F;&#x7528;cacheManager&#x6620;&#x5C04;&#x5230;&#x4E0D;&#x540C;&#x7684;&#x7F13;&#x5B58;</td>
</tr>
<tr>
<td>&#x5B50;&#x8282;&#x70B9;Property</td>
<td>&#x9501;&#x7684;&#x5C5E;&#x6027;&#x8282;&#x70B9;,&#x7528;&#x4E8E;&#x63CF;&#x8FF0;&#x9501;&#x7684;&#x5C5E;&#x6027;&#x4FE1;&#x606F;</td>
</tr>
<tr>
<td>EXPIRE_TIME</td>
<td>&#x9501;&#x7684;&#x8D85;&#x65F6;&#x65F6;&#x95F4;,&#x5355;&#x4F4D;&#x79D2;,&#x5BF9;&#x4E8E;StatusLock&#x65E0;&#x6548;</td>
</tr>
</tbody>
</table>
<h4 id="result&#x8282;&#x70B9;">result&#x8282;&#x70B9;</h4>
<p>Result&#x8282;&#x70B9;&#x7528;&#x4E8E;&#x914D;&#x7F6E;handler&#x6267;&#x884C;&#x540E;,&#x5BF9;&#x7ED3;&#x679C;&#x7684;&#x8DEF;&#x7531;
&#x5728;handler&#x6267;&#x884C;&#x540E;,&#x8FD4;&#x56DE;&#x7684;&#x5B57;&#x7B26;&#x4E32;&#x4F1A;&#x8DEF;&#x7531;&#x51B3;&#x5B9A;&#x6267;&#x884C;&#x54EA;&#x4E2A;&#x8DEF;&#x5F84;.
Result&#x53EF;&#x4EE5;&#x5305;&#x542B;&#x591A;&#x4E2A;save&#x8282;&#x70B9;,result&#x5728;&#x6267;&#x884C;&#x524D;,&#x4F1A;&#x5F00;&#x542F;executor&#x4E2D;&#x6CE8;&#x5165;&#x7684;datasource&#x7684;&#x4E00;&#x4E2A;&#x4E8B;&#x52A1;,<strong style="color:red">&#x6240;&#x6709;&#x7684;save&#x8282;&#x70B9;&#x90FD;&#x5728;&#x8FD9;&#x4E2A;&#x4E8B;&#x52A1;&#x5185;,&#x5982;&#x679C;&#x6709;&#x67D0;&#x4E00;&#x4E2A;save&#x8282;&#x70B9;&#x6267;&#x884C;&#x5931;&#x8D25;,&#x8FD9;&#x4E2A;&#x4E8B;&#x52A1;&#x5C06;&#x4F1A;&#x56DE;&#x6EDA;,&#x4E14;execute&#x65B9;&#x6CD5;&#x9000;&#x51FA;,&#x5F53;&#x524D;&#x8C03;&#x7528;&#x8FD4;&#x56DE;<code>FAIL</code>,&#x8282;&#x70B9;&#x72B6;&#x6001;&#x4E3A;<code>SAVE_EXCEPTION</code></strong>.</p>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>type</td>
<td>&#x8DEF;&#x7531;&#x6807;&#x8BC6;,&#x7531;handler&#x6267;&#x884C;&#x8FD4;&#x56DE;&#x503C;&#x8FDB;&#x884C;&#x8DEF;&#x7531;&#x9009;&#x62E9;.</td>
</tr>
</tbody>
</table>
<h4 id="save&#x8282;&#x70B9;">save&#x8282;&#x70B9;</h4>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>&#x7528;&#x4E8E;&#x6307;&#x5B9A;&#x5BF9;&#x5E94;&#x7684;typeDef&#x914D;&#x7F6E;&#x7684;&#x8BA2;&#x5355;&#x522B;&#x540D;,&#x6307;&#x5B9A;&#x9700;&#x8981;&#x66F4;&#x65B0;&#x7684;&#x8BA2;&#x5355;</td>
</tr>
<tr>
<td>rowCheck</td>
<td>&#x66F4;&#x65B0;&#x7684;&#x7ED3;&#x679C;&#x68C0;&#x67E5;,&#x9700;&#x8981;&#x914D;&#x7F6E;&#x6570;&#x5B57;<br>&#x4F7F;&#x7528;update&#x7684;&#x8FD4;&#x56DE;&#x503C;(&#x66F4;&#x65B0;&#x8BB0;&#x5F55;&#x6761;&#x6570;)&#x6765;&#x5224;&#x65AD;&#x5F53;&#x524D;&#x7684;&#x66F4;&#x65B0;&#x662F;&#x5426;&#x5408;&#x6CD5;,&#x5982;&#x679C;&#x4E0D;&#x5339;&#x914D;,&#x5F53;&#x524D;&#x7684;&#x4E8B;&#x52A1;&#x5C06;&#x4F1A;&#x56DE;&#x6EDA;</td>
</tr>
<tr>
<td>condition</td>
<td>&#x8FDB;&#x5165;&#x5F53;&#x524D;save&#x7684;&#x6761;&#x4EF6;,&#x914D;&#x7F6E;&#x4E00;&#x4E2A;springEL&#x8868;&#x8FBE;&#x5F0F;,&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x4E0A;&#x4E0B;&#x6587;,&#x5982;&#x679C;&#x8868;&#x8FBE;&#x5F0F;&#x6267;&#x884C;&#x4E3A;false,&#x5C06;&#x4E0D;&#x4F1A;&#x89E6;&#x53D1;&#x5F53;&#x524D;&#x7684;save</td>
</tr>
<tr>
<td>invoke</td>
<td>&#x4E0D;&#x4F7F;&#x7528;qilu-state&#x751F;&#x6210;&#x7684;update&#x8BED;&#x53E5;&#x64CD;&#x4F5C;,&#x4F7F;&#x7528;spring&#x7684;beanName,&#x6CE8;&#x610F;&#x53C2;&#x6570;&#x7684;&#x7C7B;&#x578B;</td>
</tr>
</tbody>
</table>
<h4 id="notify&#x8282;&#x70B9;">notify&#x8282;&#x70B9;</h4>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>type</td>
<td>&#x901A;&#x77E5;&#x7684;&#x5BF9;&#x8C61;&#x7C7B;&#x578B;,&#x9700;&#x8981;&#x518D;typeDef&#x4E2D;&#x8FDB;&#x884C;&#x914D;&#x7F6E;</td>
</tr>
<tr>
<td>condition</td>
<td>&#x5B50;&#x8282;&#x70B9;,&#x914D;&#x7F6E;&#x67E5;&#x8BE2;&#x6761;&#x4EF6;<br>&#x5982;&#x679C;condition&#x4E0D;&#x4E3A;&#x7A7A;,&#x5219;&#x4EE3;&#x8868;&#x9700;&#x8981;&#x63A8;&#x8FDB;&#x7684;&#x662F;&#x4E00;&#x4E2A;&#x975E;&#x5F53;&#x524D;state&#x7684;&#x5BF9;&#x8C61;,&#x9700;&#x8981;&#x901A;&#x8FC7;&#x5F53;&#x524D;&#x5BF9;&#x8C61;&#x7684;&#x90E8;&#x5206;&#x5C5E;&#x6027;&#x8FDB;&#x884C;&#x67E5;&#x8BE2;</td>
</tr>
</tbody>
</table>
<h4 id="condition&#x8282;&#x70B9;">condition&#x8282;&#x70B9;</h4>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>field</td>
<td>&#x64CD;&#x4F5C;&#x7684;&#x5B57;&#x6BB5;&#x540D;,&#x8FD9;&#x8FB9;&#x4E00;&#x822C;&#x586B;&#x5199;&#x9A7C;&#x5CF0;&#x7684;&#x5C5E;&#x6027;&#x540D;,&#x5728;&#x8F6C;&#x5316;&#x4E3A;&#x6570;&#x636E;&#x5E93;&#x64CD;&#x4F5C;&#x7684;&#x65F6;,&#x4F1A;&#x81EA;&#x52A8;&#x89E3;&#x6210;&#x5B57;&#x6BB5;&#x540D;</td>
</tr>
<tr>
<td>value</td>
<td>&#x4EE3;&#x8868;&#x5F53;&#x524D;&#x7684;&#x8FD9;&#x4E2A;&#x6761;&#x4EF6;&#x914D;&#x7F6E;,&#x662F;&#x4E00;&#x4E2A;&#x9759;&#x6001;&#x503C;</td>
</tr>
<tr>
<td>operator</td>
<td>&#x5F53;&#x524D;&#x6761;&#x4EF6;&#x7684;&#x64CD;&#x4F5C;&#x7B26;,&#x9ED8;&#x8BA4;&#x4E3A;&quot;=&quot;</td>
</tr>
<tr>
<td>expression</td>
<td>&#x5F53;&#x524D;&#x6761;&#x4EF6;&#x7684;&#x53D6;&#x503C;,&#x9700;&#x8981;&#x901A;&#x8FC7;springEL&#x5728;&#x5F53;&#x524D;&#x7684;context&#x4E2D;&#x8FDB;&#x884C;&#x83B7;&#x53D6;</td>
</tr>
</tbody>
</table>
<p>&#x793A;&#x4F8B;</p>
<pre class="language-"><code class="lang-java"><span class="token annotation punctuation">@orderApplyManager</span><span class="token punctuation">.</span><span class="token function">createOrderApply</span><span class="token punctuation">(</span>order<span class="token punctuation">.</span>id<span class="token punctuation">)</span>
&#x5C06;&#x4F1A;&#x67E5;&#x8BE2;spring&#x7684;beanFactory&#x4E2D;&#x7684;orderApplyManager&#x7684;beanName<span class="token punctuation">,</span>&#x5E76;&#x8C03;&#x7528;createOrderApply&#x65B9;&#x6CD5;<span class="token punctuation">,</span>&#x53C2;&#x6570;&#x4E3A;&#x4E0A;&#x4E0B;&#x6587;&#x4E2D;&#x7684;order<span class="token punctuation">.</span>id&#x5C5E;&#x6027;
   <span class="token class-name">Condition</span>&#x8282;&#x70B9;    &#x751F;&#x6210;update&#x8BED;&#x53E5;&#x7684;where&#x90E8;&#x5206;
   <span class="token class-name">Set</span>&#x8282;&#x70B9;    &#x751F;&#x6210;update&#x8BED;&#x53E5;&#x7684;set&#x90E8;&#x5206;
       <span class="token class-name">Field</span>    &#x751F;&#x6210;&#x6761;&#x4EF6;<span class="token operator">/</span>set&#x90E8;&#x5206;&#x7684;&#x5B57;&#x6BB5;<span class="token punctuation">,</span>&#x9700;&#x8981;&#x914D;&#x7F6E;order&#x5BF9;&#x8C61;&#x7684;&#x5C5E;&#x6027;<span class="token punctuation">,</span>&#x9ED8;&#x8BA4;&#x4F1A;&#x6309;&#x7167;&#x9A7C;&#x5CF0;&#x539F;&#x5219;<span class="token punctuation">,</span>&#x53CD;&#x5411;&#x751F;&#x6210;&#x8868;&#x7684;&#x5B57;&#x6BB5;&#x540D;
       <span class="token class-name">Value</span>    &#x751F;&#x6210;&#x6761;&#x4EF6;<span class="token operator">/</span>set&#x90E8;&#x5206;&#x7684;&#x503C;<span class="token punctuation">,</span>&#x4E0D;&#x9700;&#x8981;&#x5173;&#x6CE8;&#x6570;&#x636E;&#x7C7B;&#x578B;<span class="token punctuation">,</span>&#x4F1A;&#x9ED8;&#x8BA4;&#x4F7F;&#x7528;&#x6570;&#x636E;&#x5E93;&#x7684;&#x6570;&#x636E;&#x7C7B;&#x578B;&#x8FDB;&#x884C;&#x63D2;&#x5165;
       <span class="token class-name">Operator</span>    &#x751F;&#x6210;&#x64CD;&#x4F5C;&#x7B26;<span class="token punctuation">,</span>&#x9488;&#x5BF9;condition&#x8282;&#x70B9;<span class="token punctuation">,</span>&#x53EF;&#x4EE5;&#x914D;&#x7F6E;&#x5927;&#x4E8E;<span class="token punctuation">,</span>&#x5C0F;&#x4E8E;<span class="token punctuation">,</span>&#x9488;&#x5BF9;xml&#x914D;&#x7F6E;&#x9700;&#x8981;&#x8F6C;&#x4E49;
       <span class="token class-name">Expression</span>    &#x751F;&#x6210;&#x6761;&#x4EF6;<span class="token operator">/</span>set&#x90E8;&#x5206;&#x7684;&#x503C;<span class="token punctuation">,</span>&#x533A;&#x522B;&#x4E8E;value<span class="token punctuation">,</span>expression&#x53EF;&#x4EE5;&#x5141;&#x8BB8;&#x4ECE;&#x4E0A;&#x4E0B;&#x6587;&#x4E2D;&#x83B7;&#x53D6;&#x503C;<span class="token punctuation">,</span>&#x586B;&#x5199;springEL&#x8868;&#x8FBE;&#x5F0F;
</code></pre>
<h3 id="java&#x8C03;&#x7528;">java&#x8C03;&#x7528;</h3>
<p>&#x6784;&#x5EFA;qilu-state&#x7684;&#x4E0A;&#x4E0B;&#x6587;,&#x5C06;&#x9700;&#x8981;&#x64CD;&#x4F5C;&#x7684;&#x8BA2;&#x5355;&#x4F20;&#x5165;&#x4E0A;&#x4E0B;&#x6587;,&#x8C03;&#x7528;StateExecutor.execute&#x65B9;&#x6CD5;.</p>
<pre class="language-"><code class="lang-java"><span class="token comment">//&#x8C03;&#x7528;&#x793A;&#x4F8B;</span>
<span class="token class-name">ExecuteContext</span> context <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">ExecuteContext</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token class-name">OrderInfo</span> orderInfo <span class="token operator">=</span> orderInfoManager<span class="token punctuation">.</span><span class="token function">queryById</span><span class="token punctuation">(</span>orderId<span class="token punctuation">)</span><span class="token punctuation">;</span>
context<span class="token punctuation">.</span><span class="token function">setOrder</span><span class="token punctuation">(</span>orderInfo<span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token class-name">ExecuteResult</span> result <span class="token operator">=</span> executor<span class="token punctuation">.</span><span class="token function">execute</span><span class="token punctuation">(</span>context<span class="token punctuation">)</span><span class="token punctuation">;</span>
</code></pre>
<p>&#x88AB;qilu-state&#x914D;&#x7F6E;&#x7684;&#x8BA2;&#x5355;&#x5BF9;&#x8C61;,&#x5982;&#x679C;&#x9700;&#x8981;&#x64CD;&#x4F5C;&#x5230;&#x72B6;&#x6001;&#x53D8;&#x66F4;,&#x90FD;&#x53EA;&#x8981;&#x5199;&#x4E0A;&#x8FF0;&#x4EE3;&#x7801;&#x5C31;&#x80FD;&#x9A71;&#x52A8;qilu-state&#x6267;&#x884C;.</p>
<p>&#x8FD9;&#x8FB9;&#x7684;&#x4EE3;&#x7801;&#x53EF;&#x4EE5;&#x5728;controller&#x4E2D;&#x89E6;&#x53D1;,&#x4E5F;&#x53EF;&#x4EE5;&#x5728;MQ&#x7684;listener&#x4E2D;&#x89E6;&#x53D1;,&#x4E5F;&#x53EF;&#x4EE5;&#x5728;&#x5B9A;&#x65F6;&#x4EFB;&#x52A1;&#x4E2D;&#x89E6;&#x53D1;.</p>
<p>&#x5F53;&#x7136;,&#x5982;&#x679C;&#x662F;MQ&#x7684;listener&#x4E2D;&#x89E6;&#x53D1;,&#x4E00;&#x822C;&#x90FD;&#x9700;&#x8981;&#x4F20;&#x5165;MQ&#x7684;&#x6D88;&#x606F;&#x6570;&#x636E;,&#x4E00;&#x822C;&#x901A;&#x8FC7;order.extention&#x64CD;&#x4F5C;.</p>
<h3 id="&#x8FD4;&#x56DE;&#x503C;&#x8BF4;&#x660E;">&#x8FD4;&#x56DE;&#x503C;&#x8BF4;&#x660E;</h3>
<p>&#x5982;&#x679C;&#x5728;state&#x5185;&#x90E8;&#x914D;&#x7F6E;&#x4E86;notify,&#x90A3;&#x4E48;qilu-state&#x4F1A;&#x6267;&#x884C;&#x5B8C;&#x4E00;&#x4E2A;state&#x5C31;&#x901A;&#x77E5;&#x4E00;&#x4E2A;state,&#x76F4;&#x5230;&#x65E0;&#x6CD5;&#x5904;&#x7406;&#x6216;&#x8005;&#x5904;&#x7406;&#x5931;&#x8D25;.</p>
<blockquote>
<p>[!WARNING]
&#x4F9D;&#x636E;&#x8FD9;&#x4E2A;&#x7279;&#x6027;,&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x4E0D;&#x518D;&#x628A;&#x63A5;&#x53E3;&#x5B9A;&#x4E49;&#x4E3A;&quot;&#x540C;&#x6B65;&#x63A5;&#x53E3;&quot;&#x6216;&#x8005;&quot;&#x5F02;&#x6B65;&#x63A5;&#x53E3;&quot;,&#x5982;&#x679C;qilu-state&#x80FD;&#x76F4;&#x63A5;&#x5904;&#x7406;&#x5230;&#x5B8C;&#x7ED3;&#x72B6;&#x6001;,&#x90A3;&#x4E48;&#x8C03;&#x7528;&#x5C31;&#x662F;&#x540C;&#x6B65;&#x7684;,&#x5982;&#x679C;qilu-state&#x65E0;&#x6CD5;&#x76F4;&#x63A5;&#x5904;&#x7406;&#x5230;&#x5B8C;&#x7ED3;&#x72B6;&#x6001;,&#x90A3;&#x624D;&#x662F;&#x5F02;&#x6B65;&#x7684;.</p>
</blockquote>
<h4 id="executeresultenum">ExecuteResultEnum</h4>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>resultEnum</td>
<td>&#x5F53;&#x524D;&#x8C03;&#x7528;&#x7684;&#x7ED3;&#x679C;<br>&#x8FD9;&#x662F;&#x4E00;&#x4E2A;&#x679A;&#x4E3E;&#x503C;,&#x6709;&#x5982;&#x4E0B;&#x4E09;&#x79CD;&#x7ED3;&#x679C;<br>SUCCESS,&#x4EE3;&#x8868;&#x5F53;&#x524D;&#x8C03;&#x7528;&#x6210;&#x529F;,&#x6CA1;&#x6709;&#x9519;&#x8BEF;<br>PARTLY_SUCCESS,&#x4EE3;&#x8868;&#x5F53;&#x524D;&#x8C03;&#x7528;&#x6709;&#x591A;&#x4E2A;&#x6B65;&#x9AA4;,&#x6700;&#x540E;&#x4E00;&#x4E2A;&#x6B65;&#x9AA4;&#x5931;&#x8D25;,&#x524D;&#x9762;&#x7684;&#x6B65;&#x9AA4;&#x662F;&#x6210;&#x529F;&#x7684;<br>PROCESSING,&#x6307;&#x4EE3;&#x5F53;&#x524D;&#x7684;&#x72B6;&#x6001;&#x8FDB;&#x5165;&#x4E86;&#x4E00;&#x4E2A;&#x4E0D;&#x786E;&#x5B9A;&#x7684;&#x60C5;&#x51B5;,&#x9700;&#x8981;&#x5916;&#x90E8;&#x7EBF;&#x7A0B;&#x8FDB;&#x884C;&#x9000;&#x51FA;<br>FAIL,&#x4EE3;&#x8868;&#x5F53;&#x524D;&#x7684;&#x5904;&#x7406;&#x662F;&#x5931;&#x8D25;&#x7684;.</td>
</tr>
<tr>
<td>lastStateEnum</td>
<td>&#x6700;&#x540E;&#x4E00;&#x4E2A;&#x8C03;&#x7528;state&#x7684;&#x7ED3;&#x679C;<br>&#x8FD9;&#x662F;&#x4E00;&#x4E2A;&#x679A;&#x4E3E;&#x503C;,&#x6709;&#x5982;&#x4E0B;&#x51E0;&#x79CD;&#x7ED3;&#x679C;<br>SUCCESS,handler&#x8C03;&#x7528;&#x6210;&#x529F;,&#x4E4B;&#x540E;&#x7684;result&#x8C03;&#x7528;&#x6210;&#x529F;,&#x4E8B;&#x52A1;&#x63D0;&#x4EA4;,&#x6CA1;&#x6709;&#x9519;&#x8BEF;<br>NO_MATCH_STATE,&#x6CA1;&#x6709;&#x5339;&#x914D;&#x5230;&#x5BF9;&#x5E94;&#x7684;state&#x6267;&#x884C;&#x5668;<br>NO_HANDLE,&#x6CA1;&#x6709;&#x627E;&#x5230;&#x914D;&#x7F6E;&#x7684;ref&#x7684;handler,&#x4E5F;&#x6709;&#x53EF;&#x80FD;&#x662F;handler&#x7684;canExecute&#x8FD4;&#x56DE;&#x4E86;false<br>LOCK_FAIL,&#x8C03;&#x7528;lock&#x7684;&#x8FC7;&#x7A0B;&#x4E2D;,&#x7531;lockFactory&#x8FD4;&#x56DE;&#x4E86;false<br>EXECUTE_EXECPTION,&#x8C03;&#x7528;stateHandler&#x7684;&#x8FC7;&#x7A0B;&#x629B;&#x51FA;&#x4E86;&#x5F02;&#x5E38;<br>SAVE_EXCEPTION,&#x8C03;&#x7528;result&#x7684;&#x8FC7;&#x7A0B;&#x4E2D;&#x67D0;&#x4E00;&#x4E2A;save&#x51FA;&#x73B0;&#x4E86;&#x5F02;&#x5E38;,&#x56DE;&#x6EDA;&#x4E8B;&#x52A1;,&#x629B;&#x51FA;&#x5F02;&#x5E38;<br>CYCLE_EXCEPTION,&#x5728;&#x8C03;&#x7528;state&#x7684;&#x8FC7;&#x7A0B;&#x4E2D;,&#x51FA;&#x73B0;&#x4E86;state&#x7684;&#x91CD;&#x590D;<br>NO_SAVE,&#x6CA1;&#x6709;&#x627E;&#x5230;handler&#x7684;&#x8FD4;&#x56DE;&#x503C;&#x914D;&#x7F6E;&#x7684;result</td>
</tr>
</tbody>
</table>
<h4 id="executecontext">ExecuteContext</h4>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>Order</td>
<td>&#x4EE3;&#x8868;&#x8BA2;&#x5355;&#x5BF9;&#x8C61;&#x7684;&#x5B9E;&#x4F8B;<br>qilu-state&#x4F1A;&#x4F7F;&#x7528;order.class&#x53BB;&#x5339;&#x914D;&#x5BF9;&#x5E94;&#x7684;state</td>
</tr>
<tr>
<td>Extention</td>
<td>&#x4E0A;&#x4E0B;&#x6587;&#x7684;&#x6269;&#x5C55;&#x5B57;&#x6BB5;,&#x5F53;&#x6B21;&#x8C03;&#x7528;&#x6709;&#x6548;<br>&#x4F1A;&#x5728;&#x4E0D;&#x540C;&#x7684;state&#x4E2D;&#x4E0A;&#x4E0B;&#x4F20;&#x9012;</td>
</tr>
<tr>
<td>handlerResultMap</td>
<td>&#x6240;&#x6709;&#x6B65;&#x9AA4;&#x6267;&#x884C;handler&#x7684;&#x7ED3;&#x679C;,&#x4E00;&#x4E2A;map,key&#x662F;&#x5F53;&#x524D;state&#x7684;name<br>&#x83B7;&#x53D6;&#x67D0;&#x4E00;&#x4E2A;&#x6B65;&#x9AA4;&#x7684;result,context.getHandlerResultMap().get(&#x201C;state-name&#x201D;)</td>
</tr>
<tr>
<td>executeResultMap</td>
<td>&#x6240;&#x6709;&#x6B65;&#x9AA4;&#x7684;&#x8FD4;&#x56DE;&#x7801;<br>&#x6B63;&#x5E38;&#x5E94;&#x8BE5;&#x90FD;&#x662F;SUCCESS</td>
</tr>
</tbody>
</table>
<h2 id="&#x6CE8;&#x610F;&#x4E8B;&#x9879;">&#x6CE8;&#x610F;&#x4E8B;&#x9879;</h2>
<p>qilu-state&#x53EF;&#x4EE5;&#x5728;&#x72B6;&#x6001;&#x8BBE;&#x8BA1;&#x51C6;&#x786E;&#x7684;&#x60C5;&#x51B5;&#x4E0B;,&#x4FDD;&#x8BC1;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x987A;&#x5229;&#x6267;&#x884C;,&#x800C;&#x4E14;&#x6267;&#x884C;&#x53EF;&#x4EE5;&#x662F;&#x540C;&#x6B65;&#x7684;.&#x6240;&#x4EE5;,&#x5728;&#x8BBE;&#x8BA1;&#x4E00;&#x4E2A;&#x63A5;&#x53E3;&#x7684;&#x65F6;&#x5019;,&#x53EF;&#x4EE5;&#x4E0D;&#x518D;&#x9884;&#x5148;&#x8BBE;&#x5B9A;&#x4E00;&#x4E2A;&#x63A5;&#x53E3;&#x662F;&#x540C;&#x6B65;&#x63A5;&#x53E3;&#x8FD8;&#x662F;&#x5F02;&#x6B65;&#x63A5;&#x53E3;.&#x800C;&#x662F;&#x53EF;&#x4EE5;&#x6839;&#x636E;&#x4E1A;&#x52A1;&#x9700;&#x8981;,&#x5728;&#x540E;&#x7EED;&#x63A5;&#x53E3;&#x63D0;&#x4F9B;&#x540C;&#x6B65;&#x8BF7;&#x6C42;&#x7684;&#x60C5;&#x51B5;&#x4E0B;,&#x5F53;&#x524D;&#x63A5;&#x53E3;&#x4E5F;&#x53EF;&#x4EE5;&#x63D0;&#x4F9B;&#x540C;&#x6B65;&#x63A5;&#x53E3;,&#x5F53;&#x5F53;&#x524D;&#x7684;&#x4E1A;&#x52A1;&#x5DF2;&#x7ECF;&#x65E0;&#x6CD5;&#x8FDB;&#x884C;&#x4E0B;&#x53BB;(&#x53EF;&#x80FD;&#x662F;&#x56E0;&#x4E3A;&#x7F51;&#x7EDC;&#x539F;&#x56E0;),&#x63D0;&#x4F9B;&#x5F02;&#x6B65;&#x5904;&#x7406;. </p>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; senvon 2020 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">Bilibili,&#x5934;&#x6761;&#x53F7;,&#x5FAE;&#x4FE1;&#x53F7;&#xFF1A;&#x8BF7;&#x641C;&#x7D22;  &#x968F;senvon&#x98DE;
2021-09-02 14:13:27
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="state-course.html" class="navigation navigation-prev " aria-label="Previous page: 交易一致的由来">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="state-demo.html" class="navigation navigation-next " aria-label="Next page: 购买订单的处理示例">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"qilu-state使用说明","level":"1.4.1","depth":2,"next":{"title":"购买订单的处理示例","level":"1.4.2","depth":2,"path":"state/state-demo.md","ref":"state/state-demo.md","articles":[]},"previous":{"title":"交易一致的由来","level":"1.4","depth":1,"path":"state/state-course.md","ref":"state/state-course.md","articles":[{"title":"qilu-state使用说明","level":"1.4.1","depth":2,"path":"state/state-settle.md","ref":"state/state-settle.md","articles":[]},{"title":"购买订单的处理示例","level":"1.4.2","depth":2,"path":"state/state-demo.md","ref":"state/state-demo.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["search-plus","-lunr","-search","tbfed-pagefooter","simple-page-toc","insert-logo","back-to-top-button","toggle-chapters","code","lightbox","copy-code-button","search-pro","emphasize","splitter","mermaid-gb3","-sharing","sharing-plus","prism","-highlight","flexible-alerts","page-toc-button","baidu","pageview-count","bilibili","donate","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy senvon 2020","modify_label":"Bilibili,头条号,微信号：请搜索  随senvon飞"},"prism":{},"emphasize":{},"livereload":{},"simple-page-toc":{"maxDepth":5,"skipFirstH1":true},"splitter":{},"search-pro":{},"bilibili":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"code":{"copyButtons":true},"donate":{"alipay":"images/toutiao.jpg","alipayText":"头条号","button":"联系方式","title":"联系方式","wechat":"images/weixin.PNG","wechatText":"公众号"},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"lightbox":{"jquery":true,"sameUuid":false},"page-toc-button":{"maxTocDepth":5,"minTocSize":2},"back-to-top-button":{},"pageview-count":{},"flexible-alerts":{"danger":{"className":"danger","icon":"fa fa-ban","label":"Attention"},"note":{"className":"info","icon":"fa fa-info-circle","label":"Note"},"style":"flat","tip":{"className":"tip","icon":"fa fa-lightbulb-o","label":"Tip"},"warning":{"className":"warning","icon":"fa fa-exclamation-triangle","label":"Warning"}},"copy-code-button":{},"baidu":{"token":"51550945f89f43511a44753249ab6675"},"sharing":{"qq":true,"all":["douban","qq","qzone","weibo"],"douban":false,"facebook":false,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":true,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"toggle-chapters":{},"insert-logo":{"style":"background: none; height: 170px; width: 200px","url":"images/logo3.jpg"},"search-plus":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"启路框架-使用手册","language":"zh-hans","backplugin":["lightbox"],"gitbook":"*","description":"启路框架-使用手册"},"file":{"path":"state/state-settle.md","mtime":"2021-09-02T06:13:27.024Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-10-19T02:57:27.717Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-insert-logo/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-toggle-chapters/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lightbox/js/lightbox.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-mermaid-gb3/book/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-flexible-alerts/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-page-toc-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-baidu/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    <script src="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.min.js"></script>

    </body>
</html>

